/*
 * @(#)SetupOptionIndustryDAObject.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.setup.dao;

import java.sql.Connection;

import com.dcivision.framework.SessionContainer;

/**
 *  SetupOptionIndustry main DAO
 *
 *  @author           Wong Yam Lee
 *  @company          DCIVision Limited
 *  @creation date    29/10/2003
 *  @version          $Revision: 1.2 $
 */
public class SetupOptionIndustryDAObject extends AbstractSetupOptionDAObject {

  public static final String REVISION = "$Revision: 1.2 $";


  public static final String TABLE_NAME  = "SETUP_OPTION_INDUSTRY";
  public static final String OPTION_NAME = "INDUSTRY_NAME";
  public static final String OPTION_CODE = null;
  public static final boolean HAS_OPTION_CODE = false;
  public static final String DEFAULT_ORDER = OPTION_NAME; 

  /**
   * 
   */
  public SetupOptionIndustryDAObject() {
    super();
  }

  /**
   * @param dbConn
   */
  public SetupOptionIndustryDAObject(Connection dbConn) {
    super(dbConn);
  }

  /**
   * @param sessionContainer
   * @param dbConn
   */
  public SetupOptionIndustryDAObject(
    SessionContainer sessionContainer,
    Connection dbConn) {
    super(sessionContainer, dbConn);
  }

  /* (non-Javadoc)
   * @see com.dcivision.framework.dao.AbstractDAObject#initDBSetting()
   */
  protected void initDBSetting() {
    this.baseTableName = TABLE_NAME;
    this.sOptionNameCol = OPTION_NAME;
    this.sOptionCodeCol = OPTION_CODE;
    this.sDefaultOrder = DEFAULT_ORDER;
    this.bHasOptionCode = HAS_OPTION_CODE;
    super.initDBSetting();
  }

}
